package com.sanyang.lawyer.controller.audit;

import com.sanyang.lawyer.ResultApi.ResponseResult;
import com.sanyang.lawyer.entity.Audit_type;
import com.sanyang.lawyer.service.Audit.Audit_typeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("Audittype")
public class Audit_typeController {
    
    @Autowired
    private Audit_typeService typeService;

    //查询审核类型
    @RequestMapping("selectList")
    public ResponseResult<List<Audit_type>> selectList(){
        return ResponseResult.success(typeService.selectList());
    }
    
    
    
}
